package com.ssy.lingxi.message.enums;

/**
 * 通用布尔状态枚举
 * @author 伍将
 * @date 2021/1/15
 * @version 2.0.0
 */
public enum CommonBooleanEnum {

    /**
     * 否 - 0
     */
    NO(0, "否"),

    /**
     * 是 - 1
     */
    YES(1, "是");

    private Integer code;
    private String message;

    CommonBooleanEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
